package Object;

public class Test {
    public static void main(String[] args) {
        Cat cat = new Cat("小猫");
        cat.run();
        Duck duck = new Duck("小哈鸭");
        duck.fly();
        duck.run();
        duck.swim();
    }
}
